let diyPage = {
  commonStyle: {
    /* crmeb颜色变量 */
    theme: {
      color: "#cb6025",
      subColor: "#eeac5b"
    },
    font: {
      color: "#282828", // 常规字体颜色
      activeColor: "#E93323", // 字体激活颜色 和主题色一至
    },
  },
  index:{},
  statusbar:{
    setStyle: {
      bgColor: "white",
      titleColor: "rgba(100, 101, 102)",
    }
  },
  user: {
    title: "个人中心",
    page: {
      titleSize: '18px',
      bgType: 1, // 1=图片背景，2=渐变色，3=纯色背景,
      titleColor: "white",
      // "backgroundImage":"", // bgType=1生效
      // "titleBgColor":"", // bgType=3生效
      "background": "#cb6025", // bgType=2生效
      // background: 'linear-gradient(180deg, #cb6025  0%, #F5F5F5 100%, #f96e29 100%)',
      pageMargin: 20, //左右边距
    },
    jsonData: {
      userInfo: {
        avatar: "/static/images/anon.png",
        tabToolsSize: 3,
        borderRadius: 14,
        pageMargin: 10, //左右边距
        tabTools: [
          {
            name: "基础信息",
            icon: "/static/images/baseinfo.png",
            url: '/pages/users/user_info/index'
          },
          {
            name: "认证接单",
            icon: "/static/images/perfit.png",
            url: '/pages/users/user_auth/index'
          }
          // , {
          //   code: 'balance',
          //   name: "佣金",
          //   url: '/pages/users/user_profit/index',
          //   icon: "https://minio-api.thisforyou.cn:1443/test/message.png"
          // }
          , {
            name: "邀请码",
            icon: "/static/images/invite.png",
            url: "/pages/users/invite_code/index"
          }
        ]
      },
      order: {
        title: "订单中心",
        titleColor: "#282828",
        titleSize: "15px",
        pointBackgroundColor: "#cb6025",
        more: "查看全部",
        borderRadius: 14,
        pageMargin: 15, //左右边距
        padding: '15px 8px',
        status: [
          {
            title: "待付款",
            img: '/static/images/toPay.png',
            value: {
              state: -1
            }, // 搜索值json
            url: "/pages/users/order_list/index?state=-1"
          },
          {
            title: "平台审核",
            img: '/static/images/audit.png',
            value: {
              state: 0
            }, // 搜索值json
            url: "/pages/users/order_list/index?state=0"
          },
          {
            title: "待接单",
            img: '/static/images/待接单.png',
            value: {
              state: 1
            }, // 搜索值json
            url: "/pages/users/order_list/index?state=1"
          },
          {
            title: "待审核",
            img: '/static/images/审核.png',
            value: {
              state: 11
            }, // 搜索值json
            url: "/pages/users/order_list/index?state=11"
          },
          {
            title: "进行中",
            img: '/static/images/paijian.png',
            value: {
              state: 2
            }, // 搜索值json
            url: "/pages/users/order_list/index?state=2"
          }
          // {
          //   title: "已完成",
          //   img: 'https://minio-api.thisforyou.cn:1443/test/已送达.png',
          //   value: {
          //     state: 3
          //   }, // 搜索值json
          //   url: "/pages/users/order_list/index?state=3"
          // }
        ]
      },
      tools: {
        pageMargin: 15, //左右边距
        title: "",
        titleColor: "#282828",
        titleSize: "15px",
        pointBackgroundColor: "#f96e29",
        borderRadius: 14,
        pageMargin: 15, //左右边距
        padding: '15px 8px',
        datas: [

          {
            name: "消息",
            img: "/static/images/lingdang.png",
            url: "/pages/school/chat/index",
            key: "message",
            params: {}
          },
          {
            name: "跑腿拼团",
            img: "/static/images/group-icon.png",
            url: "/pages/users/my-group/index",
            params: {}
          },
          // {
          //   name: "邀请中心",
          //   img: "https://minio.thisforyou.cn:1443/school/static/inviteMoney.png",
          //   url: "/pages/users/my-member/index",
          //   params: {}
          // },
          {
            name: "我的闲置",
            img: "/static/images/shishoushichang.png",
            url: "/pages/users/my-product/index",
            params: {}
          },
          {
            name: "问题帮助",
            img: "/static/images/question.png",
            url: "/pages/users/privacy/index",
            params: {
              code: '300000',
              name: '问题帮助'
            }
          }
          , {
            name: "关于我们",
            img: "/static/images/abaout.png",
            url: "/pages/users/privacy/index",
            params: {
              code: '100000',
              name: '关于我们'
            }
          },
          {
            name: "账号设置",
            img: "/static/images/setting.png",
            url: "/pages/users/user_info_base/index",
            params: {}
          }
        ],
        adminDatas: [
          {
            name: "认证审核",
            img: "/static/images/审核.png",
            url: "/pages/users/student_auth_list/index",
            params: {},
            permission: 'student_audit'
          },
          {
            name: "学生管理",
            img: "/static/images/student-avatar.png",
            url: "/pages/users/member_list/index",
            params: {},
            permission: 'student_manager'
          },
        ]
      }
    }
  }
};

module.exports = diyPage;
